package com.hr.domain.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderPageParams {
    //页码
    private Integer pageNum = 1;
    //每页数量
    private Integer pageSize = 5;
    //条件查询
    //1.按用户名查询
    private String rName;
    //2.按时间范围查询
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;
    //3.按支付状态查询
    private Integer status;
    //4.按订单编号查询
    private String orderNo;

}
